package com.smiletrain.view;

import com.smiletrain.R;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;

public class ListaSocio extends BaseAdapter {

	public ListaSocio(String value) {
		this.value = value;
	}
	
	@Override  
    public int getCount() {  
        return 1;  
    }  

    @Override  
    public Object getItem(int position) {  
        return null;  
    }  

    @Override  
    public long getItemId(int position) {  
        return 0;  
    }  

    @Override  
    public View getView(int position, View convertView, ViewGroup parent) {  
    	View rview = LayoutInflater.from(parent.getContext())
        		.inflate(R.layout.itemsocio, null);
        TextView tfecha = (TextView) rview.findViewById(R.id.iSocio);  
        tfecha.setText(value);
        return rview;
    }
    
    private String value;

}
